$.post("http://localhost/project/goodsAndShoppingCart/getShoppingCart.php",{vipName:"13325317978"},function(o){o=JSON.parse(o);for(let t=0;t<o.length;t++){var d=`<td><img src="${o[t].goodsImg}" alt=""></td>
                        <td>${o[t].goodsName}</td>
                        <td>¥${o[t].goodsPrice}</td>
                        <td>
                            <button>-</button>
                            <span>${o[t].goodsCount}</span>
                            <button>+</button>
                        </td>
                        <td>￥22377.00</td>
                        <td><button class="button-shop">删除</button></td>`;$(".xx").html(d)}console.log(o),delGoods()});